// JavaScript Document
function login() {
    //window.open("/login.php","Window1","menubar=no,location=0,width=260,height=260,toolbar=no");
}

function new_account() {
    //window.open("/new_account.php","Window1","menubar=no,location=0,width=300,height=200,toolbar=no");
    window.open("/new_account.php",'Popup','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=300,height=260,left=430,top=100');
}

function popup(page) {
    window.open(page,"Window1","menubar=no,location=0,toolbar=no");
}

function OpenMessage(url) {
	var www = url;
	window.open(www,'Popup','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=800,height=500,left=430,top=23'); return false;
}
function OpenPopUp(url) {
	var www = url;
	window.open(www,'Popup','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=330,height=460,left=430,top=23');
}

function refreshParent() {
    window.opener.location.href = window.opener.location.href;

    if (window.opener.progressWindow)
		
    {
        window.opener.progressWindow.close()
    }
    window.close();
}

function disp_confirm()
{
    var r=confirm("Are you sure to Submit");
    if (r==true)
    {
        refreshParent();
   
    }
    else
    {
        
    }
}
